package com.xuecheng.api.contant.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 *     课程审核时的VO对象
 * </p>
 */
@Data
@ApiModel(value="CourseTeacherVO", description="课程教师信息的VO对象")
public class CourseTeacherVO {

    @ApiModelProperty(value = "课程教师信息id")
    private Long id;

    @ApiModelProperty(value = "课程基本信息id")
    private Long courseId;

    @ApiModelProperty(value = "课程发布标识")
    private Long coursePubId;

    @ApiModelProperty(value = "教师标识")
    private String TeacherName;

    @ApiModelProperty(value = "教师职位")
    private String position;

    @ApiModelProperty(value = "教师简介")
    private String introduction;

    @ApiModelProperty(value = "照片")
    private String photograph;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createDate;


}
